package com.pocket.demo.business.dao;

import com.pocket.demo.business.po.Menu;
import com.pocket.demo.core.mybatis.PocketBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;


/**
 * @author cookie.
 **/
@Mapper
public interface MenuMapper extends PocketBaseMapper<Menu> {

    List<Menu> listByRoleIds(@Param("roleIds") Collection<Long> roleIds);

}